fix(i18n): add missing translations for zh-CN#2084
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis pull request updates the Simplified Chinese locale file Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 1✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip CodeRabbit can use TruffleHog to scan for secrets in your code with verification capabilities.Add a TruffleHog config file (e.g. trufflehog-config.yml, trufflehog.yml) to your project to customize detectors and scanning behavior. The tool runs only when a config file is present. |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
i18n/locales/zh-CN.json (1)
290-292: Note: Duplicate translation for distinct keys.Both
main(Line 290) andhomepage(Line 292) are translated as "主页". This may be intentional if the English source uses similar wording, but if the English strings differ semantically, consider using distinct translations to preserve the nuance (e.g., "主要" for main vs "主页" for homepage).
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 6f50e3d7-0dc9-45ad-add7-e56b23a10a27
📒 Files selected for processing (1)
i18n/locales/zh-CN.json
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
🔗 Linked issue
n/a
🧭 Context
Add missing translations for zh-CN.
📚 Description
Also optimized the translation for compare page, since the original translation "比较包" suffers from syntactic ambiguity.